package com.swt.gap.service;

import com.swt.gap.model.dto.SubscribeRuleDTO;
import com.swt.gap.model.dto.TaskSubscribeDTO;

import java.util.List;

/**
 * @author sx
 */
public interface TaskSubscribeService {

    Integer addTaskSubscribe(TaskSubscribeDTO taskSubscribeDTO);

    List<SubscribeRuleDTO> getTaskSubscribe(Integer taskId);

    Integer updateTaskSubscribe(TaskSubscribeDTO taskSubscribeDTO);
}
